
EXEC msdb.dbo.sp_send_dbmail
    @profile_name = 'Diego',
    @recipients = 'alisson.oliveira@linx.com.br',
    --@query = 'SELECT COUNT(*) FROM LOJA_VENDA',
    @subject = 'Vai pra igreja mano ? rsrs';
    --@attach_query_result_as_file = 1 ;
